package team.seekers.hula.course.course.entity.dto;

import lombok.*;
import org.hibernate.validator.constraints.Length;
import team.seekers.hula.common.entity.BaseDTO;

import javax.validation.constraints.NotBlank;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class CourseCreateDTO extends BaseDTO {

    @Length(max = 60, message = "标题最大长度为 60")
    @NotBlank
    private String name;

    private String userId;

    private String cover;

    private String background;

    private String description;

    private String introduction;

    private Double price;

    private Integer status;

    private String teamId;


}
